package com.poi.demopoi.controller;

import com.poi.demopoi.domain.Employee;
import com.poi.demopoi.service.IEmployeeService;
import com.poi.demopoi.service.WriterService;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;

import java.util.Map;

public class ExportConfigThread extends Thread {

    private String fileName;
    private Integer total;
    private Integer batchAmount;
    private SXSSFWorkbook sxssfWorkbook;
    private Employee userDTO;
    private IEmployeeService userService;
    private WriterService writerExcelService;


    public ExportConfigThread(String fileName, Integer total, int batchAmount, Employee userDTO,
                               SXSSFWorkbook sxssfWorkbook, IEmployeeService userService, WriterService writerExcelService) {
        this.fileName = fileName;
        this.total = total;
        this.batchAmount = batchAmount; //    EmployeeController.BATCH_AMOUNT
        this.userDTO = userDTO;
        this.sxssfWorkbook = sxssfWorkbook;
        this.userService = userService;
        this.writerExcelService = writerExcelService;
    }

    @Override
    public void run() {

    }
}
